package com.ws.domain.enumeration;


import com.ws.core.handle.BaseEnum;

public enum OrderStatus implements BaseEnum<Integer> {
	//订单状态(0,异常;1,待支付;2,发货中;3,购券成功;4交易成功)
	ABNORMAL(0,"异常"),
	NOTPAY(1,"待付款"),
	DELIVERYING(2,"发货中"),
	PURCHASE_SUCCESS(3,"购券成功"),
	COMPLETE(4,"交易完成");
	
	private int code;
    private String desc;

	OrderStatus(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
